Declare value in the example code for GtkSpinButton::output, as pointed
authorJohan Dahlin <johan@gnome.org>
Mon, 7 Jan 2008 01:26:39 +0000 (01:26 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Mon, 7 Jan 2008 01:26:39 +0000 (01:26 +0000)
2008-01-06  Johan Dahlin  <johan@gnome.org>

* gtk/gtkspinbutton.c: Declare value in the example code for
GtkSpinButton::output, as pointed out by Anders Carlsson.

svn path=/trunk/; revision=19319

ChangeLog
gtk/gtkspinbutton.c

index c057211bd826516d0dc1101ad51284341138808a..567cffa8f5b1b5912ec5a2cbfddde529f4211003 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-06  Johan Dahlin  <johan@gnome.org>
+
+       * gtk/gtkspinbutton.c: Declare value in the example code for
+       GtkSpinButton::output, as pointed out by Anders Carlsson.
+
 2008-01-06  Christian Persch  <chpe@gnome.org>
 
        * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
index 4831ba5d7ad7e1f4e21b75792a4afaf956a93b10..455cb1baa15e88dd699d23170c46280c7560d1cf 100644 (file)
@@ -304,6 +304,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
    * {
    *    GtkAdjustment *adj;
    *    gchar *text;
+   *    int value;
    *    
    *    adj = gtk_spin_button_get_adjustment (spin);
    *    value = (int)gtk_adjustment_get_value (adj);